package pe.com.casadesign.domain;

import java.io.Serializable;

import org.apache.commons.lang.builder.*;

import com.thoughtworks.xstream.annotations.XStreamAlias;

@XStreamAlias("LineaVentaItem")
public class LineaVentaItem implements Serializable {
	private static final long serialVersionUID = 1L;
	
	private int codVenta;
	
	private int numeroLinea;
	
	private Item item;

	public int getCodVenta() {
		return codVenta;
	}

	public void setCodVenta(int codVenta) {
		this.codVenta = codVenta;
	}

	public int getNumeroLinea() {
		return numeroLinea;
	}

	public void setNumeroLinea(int numeroLinea) {
		this.numeroLinea = numeroLinea;
	}

	public Item getItem() {
		return item;
	}

	public void setItem(Item item) {
		this.item = item;
	}
	
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
	}
}
